package cate.game.trace;

import cate.game.GameBody;
import cate.game.framework.ModuleMan;
import cate.game.trace.sub.*;

public class TraceManager extends ModuleMan {
    public TraceRole role = new TraceRole();
    public TraceHero hero = new TraceHero();
    public TraceFb fb = new TraceFb();
    public TraceGuild guild = new TraceGuild();
    public TraceFriend friend = new TraceFriend();
    public TraceLog log = new TraceLog();

    @Override
    public void initIndependent(GameBody game) throws Exception {
        super.initIndependent(game);
        role.initIndependent(game);
        hero.initIndependent(game);
        fb.initIndependent(game);
        guild.initIndependent(game);
        friend.initIndependent(game);
        log.initIndependent(game);
    }

    @Override
    public void initDependent() throws Exception {
        role.initDependent();
        hero.initDependent();
        fb.initDependent();
        guild.initDependent();
        friend.initDependent();
        log.initDependent();
    }

    public void tick() {

    }
}
